from django.db import models

class CharacterClass(models.Model):
    name = models.CharField(max_length = 30)

class Clan(models.Model):
    pass
class Empire(models.Model):
    pass
class Warrior(models.Model):
    pass
class Item(models.Model):
    pass

class Chieftain(models.Model):
    chclass = models.ForeignKey(CharacterClass)
    name = models.CharField(max_length = 240)

    max_health = models.IntegerField()
    health = models.IntegerField()

    max_energy = models.IntegerField()
    energy = models.IntegerField()

    max_stamina = models.IntegerField()
    stamina = models.IntegerField()

    level = models.IntegerField()
    experience = models.IntegerField()
    gold = models.IntegerField()
    bank = models.IntegerField()

    clan = models.OneToOneField(Clan)
    empire = models.ForeignKey(Empire)
    land = models.IntegerField()

    warriors = models.ForeignKey(Warrior)
    items = models.ForeignKey(Item)

    favor_points = models.IntegerField()
